public class Test {
    public static void main(String[] args) {
        Room room1 = new Room("3-2-502", 113.5, "三室一厅", 15000, false);
        Room room2 = new Room("4-5-1108", 156.9, "四室二厅", 17500, true);
        Room room3 = new Room("4-3-1501", 45.9, "二室一厅", 16200, true);

        double totalArea = room1.getArea() + room2.getArea() + room3.getArea();
        System.out.println("总面积：" + totalArea);

        double totalPrice = room1.getMoney() + room2.getMoney() + room3.getMoney();
        System.out.println("总价：" + totalPrice);

        room1.setState(true);

        System.out.println("房间1信息：");
        room1.showRoom();
        System.out.println();

        System.out.println("房间2信息：");
        room2.showRoom();
        System.out.println();

        System.out.println("房间3信息：");
        room3.showRoom();
    }
}